#! /bin/bash
chmod +x /home/projects/tools_cli/rabbitmqadmin-2.1.0-x86_64-unknown-linux-gnu

/home/projects/tools_cli/rabbitmqadmin-2.1.0-x86_64-unknown-linux-gnu declare exchange --name apiServers --type fanout
/home/projects/tools_cli/rabbitmqadmin-2.1.0-x86_64-unknown-linux-gnu declare exchange --name dataServers --type fanout
rabbitmqctl add_user test test
rabbitmqctl set_permissions -p / test ".*" ".*" ".*"

